﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game_Field
{
    class GameNode
    {
        private int nodeX { get; set; }
        private int nodeY { get; set; }
        private char nodeSymbol { get; set; }


        public int NodeX { get; set; }
        public int NodeY { get; set; }
        public char NodeSymbol { get; set; }

        public GameNode(int x, int y, char symbol)
        {
            NodeX = x;
            NodeY = y;
            NodeSymbol = symbol;
        }

        public void MoveUp()
        {
            NodeY--;
        }

        public void MoveDown()
        {
            NodeY++;
        }

        public void MoveLeft()
        {
            NodeX--;
        }

        public void MoveRight()
        {
            NodeX++;
        }
        
    }
}
